import request from '@/utils/request'

export function getSystemList(data) {
  return request({
    url: '/admin/page',
    method: 'post',
    data
  })
}
export function systemdel(id) {
  return request({
    url: '/admin/' + id,
    method: 'delete'
  })
}
export function modifyList(data) {
  return request({
    url: '/admin',
    method: 'put',
    data
  })
}
export function establishList(data) {
  return request({
    url: '/admin',
    method: 'post',
    data
  })
}
